<template>
  <view v-if="empty"></view>
  <conversation v-else></conversation>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue'
import conversation from '@/pages/im/pages/Conversation/index.vue'
import store from '@/store/index'

const empty = ref(true)

onMounted(() => {
  empty.value = false
  store.commit('app/IM_INIT', {
    imAccid: '10001',
    imToken: '123456'
  })
})
</script>

<style lang="scss" scoped></style>
